const busData = [
  {
    type: '洪山区',
    value: 25,
  },
  {
    type: '武昌区',
    value: 20,
  },
  {
    type: '汉阳区',
    value: 15,
  },
  {
    type: '江夏区',
    value: 10,
  },
  {
    type: '青山区',
    value: 5,
  },
];

const config = {
  appendPadding: 10,
  xField: 'type',
  yField: 'value',
  seriesField: 'type',
  radius: 0.9,
  height: 270,
  label: {
    offset: -15,
  },
  interactions: [{ type: 'element-active' }],
};

export { busData, config };
